package br.estacio.contatos.client.event;

import com.google.gwt.event.shared.GwtEvent;

public class SalvarContatoEvent extends GwtEvent<SalvarContatoHandler> {
	
	public static final Type<SalvarContatoHandler> TYPE = new Type<SalvarContatoHandler>();

	@Override
	public com.google.gwt.event.shared.GwtEvent.Type<SalvarContatoHandler> getAssociatedType() {
		return TYPE;
	}

	@Override
	protected void dispatch(SalvarContatoHandler handler) {
		handler.salvarContato();
	}


}
